Have a 1GiB disk rather than 1MiB, for a slightly more sensible test.
authorEwan Mellor <ewan@xensource.com>
Thu, 14 Dec 2006 14:50:35 +0000 (14:50 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 14 Dec 2006 14:50:35 +0000 (14:50 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxen/test/test_bindings.c

index 0c47305a09689b7d888595636da3514dcd4cc9f2..d2c54ac3ea616466757966eb88e53f50118e9130 100644 (file)
@@ -339,7 +339,7 @@ static void create_new_vm(xen_session *session)
             .name_label = "MyRootFS",
             .name_description = "MyRootFS description",
             .sr = &sr_record,
-            .virtual_size = (1 << 20) / 512,
+            .virtual_size = (1 << 21),  // 1GiB / 512 bytes/sector
             .sector_size = 512,
             .type = XEN_VDI_TYPE_SYSTEM,
             .sharable = false,